#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
int main()
{
	int array[] = {1,5,8,7,6,4,10};

	for (auto& e : array)
	{
		e *= 2;
	}
	for (auto e: array)
	{
		cout << e << " ";
	}
}